<div class="top">
    <div class="topleft left">
      <img src="/static/index/img/tl.jpg" alt="">
    </div>
    <div class="topright right">
      <img src="/static/index/img/tr.jpg" alt="">
    </div>
    <div class="clear"></div>
  </div>
  <div class="nav">
    <ul class="huaguo">
      <a href="{:url('index/index')}" style="color:#fff;">
        <li class="left shouge">首页</li>
      </a>
      <a href="###" style="color:#fff;">
        <li class="left daohanghuac">
          境外就业
          <ul>
            {foreach $add as $vo}
            <li class="" onclick="tanchuceng('{$vo.id}')" style="z-index:999;width: 100%;">
              {$vo.name}
            </li>
            {/foreach}
          </ul>
        </li>
      </a>
      <a href="{:url('host/index')}" style="color:#fff;">
        <li class="left">国外热门</li>
      </a>
      <a href="{:url('cgzz/index')}" style="color:#fff;">
        <li class="left">出国知识</li>
      </a>
      <a href="{:url('news/index')}" style="color:#fff;">
        <li class="left">新闻资讯</li>
      </a>
      <a href="{:url('enroll/index')}" style="color:#fff;">
        <li class="left">立即报名</li>
      </a>
      <a href="{:url('about/index')}" style="color:#fff;">
        <li class="left">关于我们</li>
      </a>
      <a href="{:url('contact/index')}" style="color:#fff;">
        <li class="left">联系我们</li>
      </a>
      <div class="clear"></div>
    </ul>

  </div>

  <script>
   function tanchuceng(arr)
   { 
    location.href="http://jsy/index/hostcity/index/did/"+arr;
   }
  </script>